{extend name="Public:public_template" /}
{block name="container"}
<div class="main-container">
    <div class="current-location">{include file="public/current_location" /}</div>
    <div class="content-container">
        <form action="" name="myForm" method="post">
            <input type="hidden" name="__token__" value="{$Request.token}" />
            <table cellpadding="0" cellspacing="0">
                <tr>
                    <th width="5%">序号</th>
                    <th width="5%">排序</th>
                    <th width="25%">菜单标题</th>
                    <th width="25%">操作方法</th>
                    <th width="8%">状态</th>
                    <th width="8%">是否隐藏</th>
                    <th width="15%">添加时间</th>
                    <th>操作</th>
                </tr>
                {volist name='list' id='vo'}
                <tr>
                    <td>{$vo['keyorder']}</td>
                    <td>
                        <input type="hidden" name="where[]" value="{$vo['menu_id']}"/>
                        <input type="text" name="list_order[]" value="{$vo['list_order']}" class="list-order-form"/>
                    </td>
                    <td class="text-align">{$vo['title']}</td>
                    <td class="text-align">{$vo['name']}</td>
                    <td>{$vo['statusString']}</td>
                    <td>{$vo['displayString']}</td>
                    <td>{$vo['inputtime']}</td>
                    <td>
                        <a href="{$vo['updateurl']}">修改</a>
                        <a href="{$vo['deleteurl']}" class="delete">删除</a>
                    </td>
                </tr>
                {/volist}
            </table>
        </form>
        <div class="bottom-pages">
            <div class="bottom-pages-button">
                <input type="button" onclick="myForm.action='{$listorderUrl}';myForm.submit();" value="排序"/>
            </div>
            <div class="pages"></div>
        </div>
    </div>
</div>
{/block}